hysop.backend.device.opencl.operator.memory_reordering module

class hysop.backend.device.opencl.operator.memory_reordering.OpenClMemoryReordering(**kwds)[source]

Bases: MemoryReorderingBase, OpenClOperator

Inplace and out of place field transposition and permutations in general. Uses basic numpy transposition facility.

Initialize a MemoryReordering operator on the opencl backend.

apply(**kwds)

Abstract method that should be implemented. Applies this node (operator, computational graph operator…).

check_dfield_memory_order(dfield)[source]